﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001509 RID: 5385
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGameUseBulletScRsp : IMessage<WolfBroGameUseBulletScRsp>, IMessage, IEquatable<WolfBroGameUseBulletScRsp>, IDeepCloneable<WolfBroGameUseBulletScRsp>, IBufferMessage
	{
		// Token: 0x170043C9 RID: 17353
		// (get) Token: 0x0600F0E8 RID: 61672 RVA: 0x00282EA1 File Offset: 0x002810A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGameUseBulletScRsp> Parser
		{
			get
			{
				return WolfBroGameUseBulletScRsp._parser;
			}
		}

		// Token: 0x170043CA RID: 17354
		// (get) Token: 0x0600F0E9 RID: 61673 RVA: 0x00282EA8 File Offset: 0x002810A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGameUseBulletScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043CB RID: 17355
		// (get) Token: 0x0600F0EA RID: 61674 RVA: 0x00282EBA File Offset: 0x002810BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGameUseBulletScRsp.Descriptor;
			}
		}

		// Token: 0x0600F0EB RID: 61675 RVA: 0x00282EC1 File Offset: 0x002810C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameUseBulletScRsp()
		{
		}

		// Token: 0x0600F0EC RID: 61676 RVA: 0x00282ECC File Offset: 0x002810CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameUseBulletScRsp(WolfBroGameUseBulletScRsp other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F0ED RID: 61677 RVA: 0x00282F18 File Offset: 0x00281118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameUseBulletScRsp Clone()
		{
			return new WolfBroGameUseBulletScRsp(this);
		}

		// Token: 0x170043CC RID: 17356
		// (get) Token: 0x0600F0EE RID: 61678 RVA: 0x00282F20 File Offset: 0x00281120
		// (set) Token: 0x0600F0EF RID: 61679 RVA: 0x00282F28 File Offset: 0x00281128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x170043CD RID: 17357
		// (get) Token: 0x0600F0F0 RID: 61680 RVA: 0x00282F31 File Offset: 0x00281131
		// (set) Token: 0x0600F0F1 RID: 61681 RVA: 0x00282F39 File Offset: 0x00281139
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600F0F2 RID: 61682 RVA: 0x00282F42 File Offset: 0x00281142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGameUseBulletScRsp);
		}

		// Token: 0x0600F0F3 RID: 61683 RVA: 0x00282F50 File Offset: 0x00281150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGameUseBulletScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F0F4 RID: 61684 RVA: 0x00282FA0 File Offset: 0x002811A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F0F5 RID: 61685 RVA: 0x00282FF5 File Offset: 0x002811F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F0F6 RID: 61686 RVA: 0x00282FFD File Offset: 0x002811FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F0F7 RID: 61687 RVA: 0x00283008 File Offset: 0x00281208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F0F8 RID: 61688 RVA: 0x00283064 File Offset: 0x00281264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F0F9 RID: 61689 RVA: 0x002830BC File Offset: 0x002812BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGameUseBulletScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F0FA RID: 61690 RVA: 0x00283124 File Offset: 0x00281324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F0FB RID: 61691 RVA: 0x00283130 File Offset: 0x00281330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.wolfBroInfo_ == null)
					{
						this.WolfBroInfo = new WolfBroInfo();
					}
					input.ReadMessage(this.WolfBroInfo);
				}
			}
		}

		// Token: 0x04005F14 RID: 24340
		private static readonly MessageParser<WolfBroGameUseBulletScRsp> _parser = new MessageParser<WolfBroGameUseBulletScRsp>(() => new WolfBroGameUseBulletScRsp());

		// Token: 0x04005F15 RID: 24341
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F16 RID: 24342
		public const int WolfBroInfoFieldNumber = 7;

		// Token: 0x04005F17 RID: 24343
		private WolfBroInfo wolfBroInfo_;

		// Token: 0x04005F18 RID: 24344
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04005F19 RID: 24345
		private uint retcode_;
	}
}
